//
//  GQHFreightInfoView.h
//  Xanthium
//
//  Created by GuanQinghao on 08/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol GQHFreightInfoViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 查看地图
- (void)qh_checkMap;

/// 拨打电话
- (void)qh_dialPhoneNumber;

/// 我要报价
- (void)qh_quotePrice;
/// 取消关注或关注
- (void)qh_followedOrUnfollowed:(UIButton *)sender;

@end


@interface GQHFreightInfoView : UIView

/// 代理
@property (nonatomic, weak) id<GQHFreightInfoViewDelegate> qh_delegate;
/// 货源详情列表
@property (nonatomic, strong) UITableView *qh_tableView;
/// 货源详情
@property (nonatomic, strong) NSMutableArray *qh_contentArray;
/// 头像
@property (nonatomic, copy) NSString *qh_avatar;
/// 姓名
@property (nonatomic, copy) NSString *qh_name;
/// 机构名称
@property (nonatomic, copy) NSString *qh_orgName;
/// 评分
@property (nonatomic, copy) NSString *qh_score;
/// 关注
@property (nonatomic, assign) BOOL qh_followed;
/// 报价
@property (nonatomic, strong) UIButton *qh_quoteButton;

@end
